package cn.eaay.stock.mapper;

import cn.eaay.stock.pojo.StockBlockRtInfo;
import cn.eaay.stock.vo.stock.StockBlockInfoVo;

import java.util.List;

/**
 * @author yangjiachang
 * @description 针对表【stock_block_rt_info(股票板块详情信息表)】的数据库操作Mapper
 * @createDate 2022-02-12 16:02:46
 * @Entity cn.eaay.stock.pojo.StockBlockRtInfo
 */
public interface StockBlockRtInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockBlockRtInfo record);

    int insertSelective(StockBlockRtInfo record);

    StockBlockRtInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockBlockRtInfo record);

    int updateByPrimaryKey(StockBlockRtInfo record);

    /**
     * 获取板块交易的前10条数据
     *
     * @return {@link List<StockBlockInfoVo> 大盘板块详情列表}
     */
    List<StockBlockInfoVo> getSectorAllLimit();

}
